<a href='http://github.com/angular/angular.js/edit/master/docs/content/error/$resource/badname.ngdoc' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this doc</a>


<h1>Error: $resource:badname
  <div><span class='hint'>Cannot use hasOwnProperty as a parameter name</span></div>
</h1>

<div>
    <pre class="minerr-errmsg" error-display="hasOwnProperty is not a valid parameter name.">hasOwnProperty is not a valid parameter name.</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p>Occurs when you try to use the name <code>hasOwnProperty</code> as a name of a parameter.
Generally, a name cannot be <code>hasOwnProperty</code> because it is used, internally, on a object
and allowing such a name would break lookups on this object.</p>

</div>


